public abstract class plane {
	int l1,l2,r;
	double l,s;
	static final double pi=3.14;
	public double Circularl(int r){
		l=pi*r*r;
		return l;
	}
	public double Circulars(int r){
		s=2*pi*r;
		return s;
	}
	public int Rectanglel(int l1,int l2){
		return (l1+l2)*2;
	}
	public int Rectangles(int l1,int l2){
		return l1*l2;
	}
	public int Trianglel(int l1,int l2,int l3){
		return l1+l2+l3;
	}
	public double Triangles(int l1,int l2,int l3){
		double p=(l1+l2+l3)/2;
		double n=p*(p-l1)*(p-l2)*(p-l3);
		s=Math.sqrt(n);
		return s; 
	}
}
